<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>服务推荐 - SocialService</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --secondary: #10b981;
            --secondary-light: #dcfce7;
            --accent: #8b5cf6;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --light-gray: #e2e8f0;
            --danger: #ef4444;
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: #f1f5f9;
            color: var(--dark);
        }
        
        .navbar {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .service-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        }
        
        .service-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .service-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .service-author {
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .service-time {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        .service-content {
            padding: 1rem;
        }
        
        .service-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
            color: var(--dark);
        }
        
        .service-description {
            color: var(--gray);
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .image-grid {
            display: grid;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .image-grid.single {
            grid-template-columns: 1fr;
        }
        
        .image-grid.double {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .image-grid.triple {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .image-grid.multi {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .image-grid.multi img:nth-child(3) {
            grid-column: 1 / 2;
            grid-row: 2 / 3;
        }
        
        .image-grid.multi img:nth-child(4) {
            grid-column: 2 / 3;
            grid-row: 2 / 3;
        }
        
        .image-grid.multi .more-images {
            grid-column: 1 / 3;
            grid-row: 2 / 3;
            background-color: rgba(0,0,0,0.5);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
        }
        
        .service-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            aspect-ratio: 1/1;
        }
        
        .service-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 1rem;
            border-top: 1px solid var(--light-gray);
            font-size: 0.9rem;
        }
        
        .meta-stats {
            display: flex;
            gap: 1.5rem;
            color: var(--gray);
        }
        
        .meta-stat {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .service-actions {
            display: flex;
            gap: 1.5rem;
        }
        
        .action-btn {
            background: none;
            border: none;
            color: var(--gray);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            transition: color 0.2s;
        }
        
        .action-btn:hover {
            color: var(--primary);
        }
        
        .action-btn.liked {
            color: var(--danger);
        }
        
        .action-btn.saved {
            color: var(--accent);
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary-light);
            color: var(--dark);
        }
        
        .featured-service {
            border: 2px solid var(--primary-light);
        }
        
        .featured-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: var(--primary);
            color: white;
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-weight: 500;
        }
        
        .category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .category-pill {
            background-color: white;
            border: 1px solid var(--light-gray);
            border-radius: 20px;
            padding: 0.35rem 1rem;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .category-pill:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        
        .category-pill.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* 不同布局的特殊样式 */
        .list-view .service-card {
            display: flex;
            margin-bottom: 1rem;
        }
        
        .list-view .service-image-container {
            flex: 0 0 200px;
        }
        
        .list-view .service-details {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .list-view .service-meta {
            margin-top: auto;
        }
        
        .masonry-grid {
            column-count: 1;
            column-gap: 1.5rem;
        }
        
        @media (min-width: 768px) {
            .masonry-grid {
                column-count: 2;
            }
        }
        
        @media (min-width: 992px) {
            .masonry-grid {
                column-count: 3;
            }
        }
        
        .masonry-item {
            break-inside: avoid;
            margin-bottom: 1.5rem;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .list-view .service-card {
                flex-direction: column;
            }
            
            .list-view .service-image-container {
                flex: none;
                width: 100%;
            }
            
            .meta-stats, .service-actions {
                gap: 1rem;
            }
            
            .service-description {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg py-3 px-4">
        <div class="container">
            <a href="#" class="logo">
                <i class="fas fa-handshake-angle"></i>
                SocialService
            </a>
            
            <div class="search-container mx-3 flex-grow-1 max-w-md">
                <div class="input-group">
                    <span class="input-group-text bg-transparent border-right-0">
                        <i class="fas fa-search text-gray-400"></i>
                    </span>
                    <input type="text" class="form-control border-left-0" placeholder="搜索服务、技能或提供者...">
                </div>
            </div>
            
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto align-items-center">
                    <li class="nav-item">
                        <a class="nav-link" href="#">
                            <i class="fas fa-home me-1"></i>首页
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">
                            <i class="fas fa-th-large me-1"></i>服务推荐
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">
                            <i class="fas fa-plus-circle me-1"></i>发布服务
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">
                            <i class="fas fa-bell me-1"></i>通知
                        </a>
                    </li>
                    <li class="nav-item ms-2">
                        <img src="https://picsum.photos/100/100?random=1" alt="用户头像" class="rounded-circle" style="width: 38px; height: 38px; object-fit: cover;">
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- 主内容区 -->
    <div class="container py-5">
        <!-- 分类筛选 -->
        <div class="category-pills">
            <div class="category-pill active">全部服务</div>
            <div class="category-pill">设计创意</div>
            <div class="category-pill">教育培训</div>
            <div class="category-pill">生活服务</div>
            <div class="category-pill">技术开发</div>
            <div class="category-pill">营销推广</div>
            <div class="category-pill">影音制作</div>
        </div>
        
        <!-- 特色服务 - 大图布局 -->
        <section class="mb-8">
            <h2 class="section-title">特色服务</h2>
            <div class="row">
                <div class="col-12">
                    <div class="service-card featured-service position-relative">
                        <div class="featured-badge">精选</div>
                        
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=10" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">创意设计工作室</div>
                                <div class="service-time">2小时前发布</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">品牌标识设计套餐 - 含Logo、名片与品牌手册</h3>
                            <p class="service-description">专业品牌设计服务，为您的企业打造独特视觉形象。包含Logo设计、标准色制定、名片设计及完整品牌手册。10年设计经验，已为300+企业提供服务。满意为止，无限修改。</p>
                            
                            <div class="image-grid double">
                                <img src="https://picsum.photos/800/600?random=20" alt="品牌设计作品展示1" class="service-image">
                                <img src="https://picsum.photos/800/600?random=21" alt="品牌设计作品展示2" class="service-image">
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <div class="meta-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>2.5k</span>
                                </div>
                                <div class="meta-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>128</span>
                                </div>
                                <div class="meta-stat">
                                    <i class="fas fa-star"></i>
                                    <span>4.9</span>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>342</span>
                                </button>
                                <button class="action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                    <span>收藏</span>
                                </button>
                                <button class="action-btn share-btn">
                                    <i class="fas fa-share-alt"></i>
                                    <span>分享</span>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 网格布局服务推荐 -->
        <section class="mb-8">
            <h2 class="section-title">热门推荐</h2>
            <div class="row gap-4">
                <!-- 服务1 - 3张图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="service-card h-100">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=11" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">英语学习导师</div>
                                <div class="service-time">昨天 15:30</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">一对一英语口语在线辅导 - 日常交流与商务英语</h3>
                            <p class="service-description">资深外教一对一英语口语辅导，专注日常交流与商务场景应用，定制化学习计划，快速提升口语能力。</p>
                            
                            <div class="image-grid triple">
                                <img src="https://picsum.photos/600/400?random=22" alt="教学场景1" class="service-image">
                                <img src="https://picsum.photos/600/400?random=23" alt="教学场景2" class="service-image">
                                <img src="https://picsum.photos/600/400?random=24" alt="教学场景3" class="service-image">
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <div class="meta-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>1.8k</span>
                                </div>
                                <div class="meta-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>96</span>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>215</span>
                                </button>
                                <button class="action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务2 - 无图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="service-card h-100">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=12" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">法律咨询顾问</div>
                                <div class="service-time">3天前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">合同审查与法律咨询 - 企业与个人服务</h3>
                            <p class="service-description">专业律师提供合同审查、起草与法律咨询服务，涵盖商业合同、劳动合同、租赁合同等多种类型，提供专业法律建议。</p>
                            
                            <!-- 无图片 -->
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <div class="meta-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>1.2k</span>
                                </div>
                                <div class="meta-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>78</span>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>156</span>
                                </button>
                                <button class="action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务3 - 1张图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="service-card h-100">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=13" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">家庭烘焙师</div>
                                <div class="service-time">1周前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">定制生日蛋糕与甜点 - 健康原料，同城配送</h3>
                            <p class="service-description">纯手工制作生日蛋糕与各式甜点，使用优质原料，无添加剂，可定制造型与口味，支持同城配送。</p>
                            
                            <div class="image-grid single">
                                <img src="https://picsum.photos/800/600?random=25" alt="定制蛋糕展示" class="service-image">
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <div class="meta-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>2.1k</span>
                                </div>
                                <div class="meta-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>103</span>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>278</span>
                                </button>
                                <button class="action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务4 - 4张图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="service-card h-100">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=14" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">室内设计师</div>
                                <div class="service-time">5天前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">小户型室内设计方案 - 含3D效果图与预算</h3>
                            <p class="service-description">专注小户型空间优化设计，提供完整设计方案、3D效果图与材料清单，帮您充分利用每一寸空间。</p>
                            
                            <div class="image-grid multi">
                                <img src="https://picsum.photos/600/400?random=26" alt="设计案例1" class="service-image">
                                <img src="https://picsum.photos/600/400?random=27" alt="设计案例2" class="service-image">
                                <img src="https://picsum.photos/600/400?random=28" alt="设计案例3" class="service-image">
                                <img src="https://picsum.photos/600/400?random=29" alt="设计案例4" class="service-image">
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <div class="meta-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>1.5k</span>
                                </div>
                                <div class="meta-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>67</span>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>198</span>
                                </button>
                                <button class="action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务5 - 多张图片(显示部分) -->
                <div class="col-md-6 col-lg-4">
                    <div class="service-card h-100">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=15" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">旅行摄影师</div>
                                <div class="service-time">2天前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">旅行跟拍服务 - 记录您的美好旅程</h3>
                            <p class="service-description">专业摄影师提供旅行跟拍服务，捕捉旅途中的精彩瞬间，提供精修照片与短视频，让美好回忆永久保存。</p>
                            
                            <div class="image-grid multi">
                                <img src="https://picsum.photos/600/400?random=30" alt="摄影作品1" class="service-image">
                                <img src="https://picsum.photos/600/400?random=31" alt="摄影作品2" class="service-image">
                                <div class="more-images service-image">+8</div>
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <div class="meta-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>2.8k</span>
                                </div>
                                <div class="meta-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>142</span>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>367</span>
                                </button>
                                <button class="action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务6 - 无图片 -->
                <div class="col-md-6 col-lg-4">
                    <div class="service-card h-100">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=16" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">健身教练</div>
                                <div class="service-time">4天前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">一对一健身指导与饮食计划定制</h3>
                            <p class="service-description">专业健身教练提供一对一在线指导，根据个人情况定制训练计划与饮食方案，帮助您科学健身，达成目标。</p>
                            
                            <!-- 无图片 -->
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <div class="meta-stat">
                                    <i class="fas fa-eye"></i>
                                    <span>1.3k</span>
                                </div>
                                <div class="meta-stat">
                                    <i class="fas fa-comment"></i>
                                    <span>89</span>
                                </div>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>203</span>
                                </button>
                                <button class="action-btn save-btn">
                                    <i class="far fa-bookmark"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 列表布局服务推荐 -->
        <section class="mb-8 list-view">
            <h2 class="section-title">最新发布</h2>
            
            <!-- 服务1 -->
            <div class="service-card">
                <div class="service-image-container">
                    <img src="https://picsum.photos/600/400?random=32" alt="网站开发服务" class="service-image" style="aspect-ratio: 4/3; height: 100%;">
                </div>
                
                <div class="service-details">
                    <div class="service-header border-0">
                        <img src="https://picsum.photos/100/100?random=17" alt="服务提供者头像" class="service-avatar">
                        <div>
                            <div class="service-author">Web开发工作室</div>
                            <div class="service-time">1小时前</div>
                        </div>
                    </div>
                    
                    <div class="service-content">
                        <h3 class="service-title">响应式网站开发 - 企业官网与电商平台</h3>
                        <p class="service-description">专业团队提供响应式网站开发服务，包括企业官网、电商平台、博客等各类网站建设，提供域名、服务器、维护一站式服务。采用最新技术栈，确保网站安全稳定、加载快速、用户体验佳。</p>
                    </div>
                    
                    <div class="service-meta">
                        <div class="meta-stats">
                            <div class="meta-stat">
                                <i class="fas fa-eye"></i>
                                <span>356</span>
                            </div>
                            <div class="meta-stat">
                                <i class="fas fa-comment"></i>
                                <span>24</span>
                            </div>
                            <div class="meta-stat">
                                <i class="fas fa-star"></i>
                                <span>4.8</span>
                            </div>
                        </div>
                        
                        <div class="service-actions">
                            <button class="action-btn like-btn">
                                <i class="far fa-heart"></i>
                                <span>56</span>
                            </button>
                            <button class="action-btn save-btn">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 服务2 -->
            <div class="service-card">
                <div class="service-image-container">
                    <!-- 无图片，使用背景色替代 -->
                    <div style="width: 100%; height: 100%; background-color: var(--primary-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary);">
                        <i class="fas fa-music fa-3x"></i>
                    </div>
                </div>
                
                <div class="service-details">
                    <div class="service-header border-0">
                        <img src="https://picsum.photos/100/100?random=18" alt="服务提供者头像" class="service-avatar">
                        <div>
                            <div class="service-author">音乐制作人</div>
                            <div class="service-time">3小时前</div>
                        </div>
                    </div>
                    
                    <div class="service-content">
                        <h3 class="service-title">原创音乐制作 - 歌曲创作与编曲服务</h3>
                        <p class="service-description">专业音乐人为您创作原创歌曲，提供作词、作曲、编曲、录音、混音一站式服务。风格涵盖流行、摇滚、民谣、电子等多种类型，可用于个人专辑、广告配乐、影视插曲等场景。</p>
                    </div>
                    
                    <div class="service-meta">
                        <div class="meta-stats">
                            <div class="meta-stat">
                                <i class="fas fa-eye"></i>
                                <span>289</span>
                            </div>
                            <div class="meta-stat">
                                <i class="fas fa-comment"></i>
                                <span>18</span>
                            </div>
                            <div class="meta-stat">
                                <i class="fas fa-star"></i>
                                <span>4.7</span>
                            </div>
                        </div>
                        
                        <div class="service-actions">
                            <button class="action-btn like-btn">
                                <i class="far fa-heart"></i>
                                <span>42</span>
                            </button>
                            <button class="action-btn save-btn">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 服务3 -->
            <div class="service-card">
                <div class="service-image-container">
                    <img src="https://picsum.photos/600/400?random=33" alt="翻译服务" class="service-image" style="aspect-ratio: 4/3; height: 100%;">
                </div>
                
                <div class="service-details">
                    <div class="service-header border-0">
                        <img src="https://picsum.photos/100/100?random=19" alt="服务提供者头像" class="service-avatar">
                        <div>
                            <div class="service-author">专业翻译</div>
                            <div class="service-time">5小时前</div>
                        </div>
                    </div>
                    
                    <div class="service-content">
                        <h3 class="service-title">专业翻译服务 - 英中日韩多语言互译</h3>
                        <p class="service-description">资深翻译提供英、中、日、韩多语言互译服务，涵盖商务文档、法律文件、技术手册、网站内容等多种类型。保证翻译准确、专业、保密，提供快速交付服务。</p>
                    </div>
                    
                    <div class="service-meta">
                        <div class="meta-stats">
                            <div class="meta-stat">
                                <i class="fas fa-eye"></i>
                                <span>412</span>
                            </div>
                            <div class="meta-stat">
                                <i class="fas fa-comment"></i>
                                <span>31</span>
                            </div>
                            <div class="meta-stat">
                                <i class="fas fa-star"></i>
                                <span>4.9</span>
                            </div>
                        </div>
                        
                        <div class="service-actions">
                            <button class="action-btn like-btn">
                                <i class="far fa-heart"></i>
                                <span>67</span>
                            </button>
                            <button class="action-btn save-btn">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 瀑布流布局服务推荐 -->
        <section>
            <h2 class="section-title">更多服务</h2>
            <div class="masonry-grid">
                <!-- 服务1 -->
                <div class="masonry-item">
                    <div class="service-card">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=34" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">宠物美容师</div>
                                <div class="service-time">1周前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">宠物上门美容服务 - 狗狗洗澡与造型</h3>
                            <p class="service-description">专业宠物美容师提供上门服务，包括洗澡、剪毛、指甲修剪等，让您的宠物在家就能享受专业美容服务。</p>
                            
                            <div class="image-grid single">
                                <img src="https://picsum.photos/600/800?random=35" alt="宠物美容服务" class="service-image" style="aspect-ratio: 3/4;">
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <i class="fas fa-eye"></i>
                                <span>987</span>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>124</span>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务2 -->
                <div class="masonry-item">
                    <div class="service-card">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=36" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">视频剪辑师</div>
                                <div class="service-time">6天前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">短视频剪辑与制作 - 抖音/快手/视频号内容</h3>
                            <p class="service-description">专业剪辑师提供短视频制作服务，包括素材剪辑、字幕添加、特效制作、配乐等，打造吸睛的社交媒体内容。</p>
                            
                            <div class="image-grid double">
                                <img src="https://picsum.photos/600/400?random=37" alt="视频剪辑作品1" class="service-image">
                                <img src="https://picsum.photos/600/400?random=38" alt="视频剪辑作品2" class="service-image">
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <i class="fas fa-eye"></i>
                                <span>1.7k</span>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>215</span>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务3 -->
                <div class="masonry-item">
                    <div class="service-card">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=39" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">园艺师</div>
                                <div class="service-time">2周前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">家庭园艺设计与维护 - 阳台/庭院绿化</h3>
                            <p class="service-description">专业园艺师提供家庭绿化设计、植物选购、种植与日常维护服务，让您的阳台或庭院焕发活力。</p>
                            
                            <div class="image-grid single">
                                <img src="https://picsum.photos/600/600?random=40" alt="园艺服务" class="service-image">
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <i class="fas fa-eye"></i>
                                <span>843</span>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>102</span>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务4 -->
                <div class="masonry-item">
                    <div class="service-card">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=41" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">写作顾问</div>
                                <div class="service-time">8天前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">文案写作与润色 - 品牌文案/演讲稿/简历</h3>
                            <p class="service-description">专业写手提供各类文案创作与润色服务，包括品牌宣传文案、演讲稿、简历优化、文章撰写等，根据需求定制内容。</p>
                            
                            <!-- 无图片 -->
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <i class="fas fa-eye"></i>
                                <span>1.1k</span>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>156</span>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 服务5 -->
                <div class="masonry-item">
                    <div class="service-card">
                        <div class="service-header">
                            <img src="https://picsum.photos/100/100?random=42" alt="服务提供者头像" class="service-avatar">
                            <div>
                                <div class="service-author">化妆师</div>
                                <div class="service-time">3天前</div>
                            </div>
                        </div>
                        
                        <div class="service-content">
                            <h3 class="service-title">上门化妆服务 - 日常妆/约会妆/晚宴妆</h3>
                            <p class="service-description">专业化妆师提供上门化妆服务，根据场合与个人特点定制妆容，包括日常妆、约会妆、晚宴妆、新娘妆等。</p>
                            
                            <div class="image-grid triple">
                                <img src="https://picsum.photos/600/400?random=43" alt="化妆作品1" class="service-image">
                                <img src="https://picsum.photos/600/400?random=44" alt="化妆作品2" class="service-image">
                                <img src="https://picsum.photos/600/400?random=45" alt="化妆作品3" class="service-image">
                            </div>
                        </div>
                        
                        <div class="service-meta">
                            <div class="meta-stats">
                                <i class="fas fa-eye"></i>
                                <span>1.5k</span>
                            </div>
                            
                            <div class="service-actions">
                                <button class="action-btn like-btn">
                                    <i class="far fa-heart"></i>
                                    <span>208</span>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 加载更多按钮 -->
        <div class="text-center mt-8">
            <button class="btn btn-primary px-6 py-2 rounded-lg">
                加载更多服务
                <i class="fas fa-chevron-down ms-1"></i>
            </button>
        </div>
    </div>
    
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 点赞功能
            const likeBtns = document.querySelectorAll('.like-btn');
            likeBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.classList.toggle('liked');
                    const icon = this.querySelector('i');
                    const countEl = this.querySelector('span');
                    let count = parseInt(countEl.textContent);
                    
                    if (this.classList.contains('liked')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        countEl.textContent = (count + 1).toString();
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        countEl.textContent = (count - 1).toString();
                    }
                });
            });
            
            // 收藏功能
            const saveBtns = document.querySelectorAll('.save-btn');
            saveBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.classList.toggle('saved');
                    const icon = this.querySelector('i');
                    
                    if (this.classList.contains('saved')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                    }
                });
            });
            
            // 分享功能
            const shareBtns = document.querySelectorAll('.share-btn');
            shareBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    alert('分享选项：微信、微博、QQ、复制链接');
                });
            });
            
            // 分类筛选
            const categoryPills = document.querySelectorAll('.category-pill');
            categoryPills.forEach(pill => {
                pill.addEventListener('click', function() {
                    categoryPills.forEach(p => p.classList.remove('active'));
                    this.classList.add('active');
                    // 实际应用中，这里可以添加筛选服务的逻辑
                });
            });
            
            // 搜索功能
            const searchInput = document.querySelector('.search-container input');
            searchInput.addEventListener('keyup', function(e) {
                if (e.key === 'Enter') {
                    const searchTerm = this.value.trim();
                    if (searchTerm) {
                        alert(`搜索服务: ${searchTerm}`);
                        // 这里可以添加实际搜索逻辑
                    }
                }
            });
            
            // 加载更多按钮
            const loadMoreBtn = document.querySelector('.btn-primary');
            loadMoreBtn.addEventListener('click', function() {
                this.innerHTML = '<i class="fas fa-spinner fa-spin"></i> 加载中...';
                
                // 模拟加载延迟
                setTimeout(() => {
                    this.innerHTML = '加载更多服务 <i class="fas fa-chevron-down ms-1"></i>';
                    alert('已加载全部服务');
                }, 1500);
            });
        });
    </script>
</body>
</html>

